package com.example.tool.erp.sdk.api.process.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class ProcessUploadRequest
{
	@SerializedName("out_warehouse_no") private String outWarehouseNo;
	@SerializedName("in_warehouse_no") private String inWarehouseNo;
	@SerializedName("operator_name") private String operatorName;
	@SerializedName("producer_no") private String producerNo;
	@SerializedName("process_count") private Integer processCount;
	@SerializedName("flag_name") private String flagName;
	@SerializedName("bom_name") private String bomName;
	@SerializedName("total_fee") private BigDecimal totalFee;
	@SerializedName("remark") private String remark;
	@SerializedName("is_check") private Boolean isCheck;
	@SerializedName("detail_list") private List<Detail> detailList;

	public static class Detail
	{
		@SerializedName("spec_no") private String specNo;
		@SerializedName("num") private BigDecimal num;
		@SerializedName("is_product") private Boolean product;
		@SerializedName("position_no") private String positionNo;
		@SerializedName("batch_no") private String batchNo;
		@SerializedName("production_date") private String productionDate;

		public String getSpecNo()
		{
			return specNo;
		}

		public void setSpecNo(String specNo)
		{
			this.specNo = specNo;
		}

		public BigDecimal getNum()
		{
			return num;
		}

		public void setNum(BigDecimal num)
		{
			this.num = num;
		}

		public String getPositionNo()
		{
			return positionNo;
		}

		public void setPositionNo(String positionNo)
		{
			this.positionNo = positionNo;
		}

		public String getBatchNo()
		{
			return batchNo;
		}

		public Boolean getProduct()
		{
			return product;
		}

		public void setProduct(Boolean product)
		{
			this.product = product;
		}

		public void setBatchNo(String batchNo)
		{
			this.batchNo = batchNo;
		}

		public String getProductionDate()
		{
			return productionDate;
		}

		public void setProductionDate(String productionDate)
		{
			this.productionDate = productionDate;
		}
	}

	public String getOutWarehouseNo()
	{
		return outWarehouseNo;
	}

	public void setOutWarehouseNo(String outWarehouseNo)
	{
		this.outWarehouseNo = outWarehouseNo;
	}

	public String getInWarehouseNo()
	{
		return inWarehouseNo;
	}

	public void setInWarehouseNo(String inWarehouseNo)
	{
		this.inWarehouseNo = inWarehouseNo;
	}

	public String getOperatorName()
	{
		return operatorName;
	}

	public void setOperatorName(String operatorName)
	{
		this.operatorName = operatorName;
	}

	public String getProducerNo()
	{
		return producerNo;
	}

	public void setProducerNo(String producerNo)
	{
		this.producerNo = producerNo;
	}

	public Integer getProcessCount()
	{
		return processCount;
	}

	public void setProcessCount(Integer processCount)
	{
		this.processCount = processCount;
	}

	public String getFlagName()
	{
		return flagName;
	}

	public void setFlagName(String flagName)
	{
		this.flagName = flagName;
	}

	public String getBomName()
	{
		return bomName;
	}

	public void setBomName(String bomName)
	{
		this.bomName = bomName;
	}

	public BigDecimal getTotalFee()
	{
		return totalFee;
	}

	public void setTotalFee(BigDecimal totalFee)
	{
		this.totalFee = totalFee;
	}

	public String getRemark()
	{
		return remark;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public Boolean getCheck()
	{
		return isCheck;
	}

	public void setCheck(Boolean check)
	{
		isCheck = check;
	}

	public List<Detail> getDetailList()
	{
		return detailList;
	}

	public void setDetailList(List<Detail> detailList)
	{
		this.detailList = detailList;
	}
}
